package com.spring.demo1.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.spring.demo1.inter.TestInferface;

/**
 * TestController
 *
 * @author Yuanqing Luo
 * @since 2019/3/19
 */
@Component
public class TestService {

    @Autowired
    TestInferface testInferface;

    public String get(){
        return testInferface.hello();
    }
}